计算机与现代化 ›› 2012, Vol. 198 ›› Issue (2): 185-186.doi: 10.3969/j.issn.1006-2475.2012.02.049

• 应用与开发 • 上一篇    下一篇

基于Xcode的智能五子棋的设计

汪婷1,喻金科1,2   

  1. 1.南昌航空大学信息工程学院,江西 南昌 330063; 2.南昌航空大学信息中心,江西 南昌 330063
  • 收稿日期:2011-09-09 修回日期:1900-01-01 出版日期:2012-02-24 发布日期:2012-02-24

Design of Intelligent Gobang Based on Xcode

WANG Ting1,YU Jin-ke 1,2   

  1. 1.School of Information Engineering, Nanchang Hangkong University, Nanhang 330063, China;2. Information Center, Nanchang Hangkong University, Nanchang 330063, China
  • Received:2011-09-09 Revised:1900-01-01 Online:2012-02-24 Published:2012-02-24

摘要: AI(Artificial Intelligence)即人工智能是在多种学科相互渗透的基础上发展起来的一门新兴边缘学科,在这一领域多以博弈为例进行研究。本文利用Xcode作为开发工具,根据博弈树的启发式搜索原理,设计一个五子棋程序,实现人与计算机的博弈。

关键词: AI, 五子棋, Alphabeta剪枝, Xcode

Abstract: AI(Artificial Intelligence) is a kind of newly emerging frontier science that is developed from many sciences’ interinfiltration, in this field often is studied on game playing.This paper uses Xcode as development tool, according to the algorithm of game playing tree’s heuristic researching, designs a game of gobang, realizes game playing between human and computer.

Key words: AI, gobang, Alphabeta pruning, Xcode

中图分类号: